package constant

const (
	ExpireTime = 86400 // 缓存时间

	FollowKey = "follow" // 关注者
	FanKey    = "fan"    // 粉丝者

	UserVideoKey    = "user:video"
	FavVideoKey     = "fav:video"      // 视频喜欢
	UserFavVideoKey = "user:fav:video" // 用户喜欢视频

	ComVideoKey = "com:video" // 视频评论
	UserComKey  = "com:user"  // 用户视频评论

	// 视频评论权重
	VideoTopComWeight = 10000000 // 评论置顶权重
	VideoFavComWeight = 1000     // 评论点赞权重
	VideoComWeight    = 1        // 评论id权重
)
